<?php
defined("_VALID_ACCESS") || die('Direct access forbidden');
class Eyeworx_ImportManager extends Module
{

    public function body()
    {
        $frame = $this->create_callback_href(array($this, 'frame'));
        $contactlens = $this->create_callback_href(array($this, 'contactlens'));
        $lens = $this->create_callback_href(array($this, 'lens'));
        $solution = $this->create_callback_href(array($this, 'solution'));
        $accessories = $this->create_callback_href(array($this, 'accessories'));
        echo "
            <div style='width:700px;'>
                <h1>Product Type:</h1>
                <a " . $frame . ">
                    <div class='epesi_big_button bigger' style='display:inline-block;'>
                        <img src='data/Base_Theme/templates/default/Utils/Attachment/icon.png' border='0' width='32' height='32' align='middle'/>
                        <span>Frame</span>
                    </div>
                </a>
                <a " . $lens . ">
                    <div class='epesi_big_button bigger' style='display:inline-block;'>
                        <img src='data/Base_Theme/templates/default/Utils/Attachment/icon.png' border='0' width='32' height='32' align='middle'/>
                        <span>Contact Lens</span>
                    </div>
                </a>
                <a " . $contactlens . ">
                    <div class='epesi_big_button bigger' style='display:inline-block;'>
                        <img src='data/Base_Theme/templates/default/Utils/Attachment/icon.png' border='0' width='32' height='32' align='middle'/>
                        <span>Spectacles</span>
                    </div>
                </a>
                <a " . $solution . ">
                    <div class='epesi_big_button bigger' style='display:inline-block;'>
                        <img src='data/Base_Theme/templates/default/Utils/Attachment/icon.png' border='0' width='32' height='32' align='middle'/>
                        <span>Solutions</span>
                    </div>
                </a>
                <a " . $accessories . ">
                    <div class='epesi_big_button bigger' style='display:inline-block;'>
                        <img src='data/Base_Theme/templates/default/Utils/Attachment/icon.png' border='0' width='32' height='32' align='middle'/>
                        <span>Accessories</span>
                    </div>
                </a>
            </div>
            ";
    }

    public function sample()
    {
        echo "hello";
    }

}

?>